<?php if (!empty($this->message)) { ?>
    <div class="alert alert-success">
        <?php echo $this->message; ?>
    </div>
<?php } ?>



<?php
$form = $this->form;
$form->prepare();

$profileFieldset = $form->get('profileFieldset');
?>

<h1 class="text-info">Modifier mon profil</h1>
<hr />
<?php echo $this->form()->openTag($form); ?>
    <div class="row">
        <div class="col-md-2"><?php echo $this->formLabel($profileFieldset->get('nom')); ?></div>
        <div class="col-md-3"><?php echo $this->formInput($profileFieldset->get('nom')); ?></div>
        <div class="col-md-7"><?php echo $this->formElementErrors($profileFieldset->get('nom'), array('class' => 'text-danger')); ?></div>
    </div>
    <br />
    <div class="row">
        <div class="col-md-2"><?php echo $this->formLabel($profileFieldset->get('prenom')); ?></div>
        <div class="col-md-3"><?php echo $this->formInput($profileFieldset->get('prenom')); ?></div>
        <div class="col-md-7"><?php echo $this->formElementErrors($profileFieldset->get('prenom'), array('class' => 'text-danger')); ?></div>
    </div>
    <br />
    <?php echo $this->formButton($profileFieldset->get('submit')); ?>
<?php echo $this->form()->closeTag($form); ?>
